package com.easy.carpanel.ui;

import android.os.Bundle;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.TextView;
import com.easy.carpanel.R;
import org.greenrobot.eventbus.EventBus;
import androidx.appcompat.app.AppCompatActivity;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class HealthyActivity extends AppCompatActivity {

    @BindView(R.id.img_heart)
    ImageView imgHeart;
    @BindView(R.id.txt_heart)
    TextView txtHeart;
    @BindView(R.id.img_bp)
    ImageView imgBp;
    @BindView(R.id.txt_bp)
    TextView txtBp;
    @BindView(R.id.img_temp)
    TextView imgTemp;
    @BindView(R.id.img_pulse)
    ImageView imgPulse;
    @BindView(R.id.txt_pulse1)
    TextView txtPulse1;
    @BindView(R.id.txt_pulse2)
    TextView txtPulse2;
    @BindView(R.id.txt_pulse3)
    TextView txtPulse3;
    @BindView(R.id.img_weather)
    ImageView imgWeather;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_healthy);
        ButterKnife.bind(this);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
    }

    @OnClick(R.id.img_weather)
    public void onViewClicked() {
        this.finish();
    }

    @Override
    public void onStart() {
        super.onStart();
      //  EventBus.getDefault().register(this);
    }

    @Override
    public void onStop() {
        super.onStop();
        //EventBus.getDefault().unregister(this);
    }
}
